<!--------------------------------------------------------知识选择器--题库----------------------------------------------------------------------->
<style>
    .sel_li {border-radius: 3px;border: 1px solid #ccc;background-color: #;padding: 0px 25px 0 15px;margin-right: 5px;cursor: pointer;}
    .que_dropdown_menu{z-index: 9;width: 80px;border-radius: 3px;line-height: 30px;position: absolute;color: #666;left: 0px;top: 30px;background: #fff;border: 1px solid #ddd;padding: 0;box-shadow: 0 7px 21px rgba(0,0,0,0.1);}    
    .que_dropdown_menu li {    padding: 0 15px;line-height: 40px;transition: all 0.3s ease 0s;cursor: pointer;font-size: 14px;}
    .que_dropdown_menu li:hover{background-color:#f5f5f5;cursor:pointer;transition:all 0.3s ease 0s}
    .que_false_more{width:100% !important}
    .que_btn{border: 1px solid #ccc;padding: 5px 6px;display: inline-block;padding: 6px 12px;margin-bottom: 0;font-size: 12px;font-weight: 400;line-height: 1.42857143;text-align: center;white-space: nowrap;         vertical-align:middle;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:4px;}
</style>
<section class="knowledge_kecheng_section" style="width:50%;float:left;" ng-class="{'que_false_more': !knowConfig.ksqMore}">
				<div class="knowledgebase_selection_tool_sousuo ng-pristine ng-valid">
                    <div class="input-group">
                        <input type="text" id="key-text" class="form-control ng-pristine ng-untouched ng-valid" ng-model="paramsQue.question_name" placeholder="请输入题目名称" ng-keyup="queEnter($event)">
                        <span class="input-group-addon " ng-click="getExamList()"><i class="iconfont"></i></span>
                    </div>
                </div>
                <div class="knowledgebase_selection_tool_main">
                	<div class="knowledgebase_selection_tool_main_check">
                		<div class="checkboxgrouptop">
							<div class="liebiaocheck-box" style="float:left;top:7px;left:0px;" ng-class="{selected: allQueCount == queList.length && allQueCount >0 }" ng-click="checkAll();$event.stopPropagation();" ng-if="knowConfig.ksqMore">
                                    <!--添加selected为选中样式-->
                                    <span class="iconfont">&#xe67a;</span>
                            </div>		
                            <label style="float:left;padding-right:5px;" ng-if="knowConfig.ksqMore">全选</label>
                            <!--遍历选择知识结构-->
                            <ul style="flex-wrap: wrap;display: flex;display: -webkit-flex;display: -ms-flexbox;display: flex;-webkit-flex-direction: row;-ms-flex-direction: row;flex-direction: row;float: left;">							       
                                <!--知识结构-->
								<li class="sel_li" ng-click="openSingleStructure()">
										<div style="max-width: 120px;height:25px;overflow: hidden;float: left;" ng-bind="nodeStructure.kssList.length >0 ? nodeStructure.kssList[0].knowledge_Name: '分类'"></div>
										<div  class="close" style="top:2px;" ng-click="qStructureSerchClose();$event.stopPropagation();" ng-if="nodeStructure.kssList.length >0">
                                            <span>+</span>
                                        </div>    
                                        <span class="caret" ng-if="nodeStructure.kssList.length <=0" style="margin-right: -5px;"></span>                                    
                                </li>
                                <!--难度-->
                                <li style="width:40px;padding: 0px 15px" class="sel_li" ng-click="selDifficultyFlag = true" ng-mouseleave = "selDifficultyFlag = false">							
                                        <div style="float: left;" ng-bind="difficultyName"></div>
                                        <div  class="close" style="top:2px;" ng-click="selDifficulty(0);$event.stopPropagation();" ng-if="paramsQue.difficulty >0">
                                            <span>+</span>
                                        </div>        						                                 
                                        <span class="caret" ng-if="paramsQue.difficulty <= 0" style="margin-right: -5px;"></span>           
                                        <!--试题难度（1 简单 2 一般 3 困难 4 非常困难）-->                         
                                        <ul class="que_dropdown_menu" ng-show="selDifficultyFlag"> 
                                            <li class="traintask_top_pxjd_all" ng-click="selDifficulty(1)">
                                                简单</li>
                                            <li class="traintask_top_pxjd_wks" ng-click="selDifficulty(2)">                                                
                                                一般</li>
                                            <li class="traintask_top_pxjd_jxz" ng-click="selDifficulty(3)">
                                                困难</li>                                            
                                        </ul>
                                </li>
                                <!--类型-->
                                <li style="width:56px;padding: 0px 15px;" class="sel_li" ng-click="selQuestionTypeFlag = true" ng-mouseleave = "selQuestionTypeFlag = false">							
                                        <div style="float: left;" ng-bind="questionTypeName"></div>                                        
                                        <div  class="close" style="top:2px;" ng-click="selQuestionType(0);$event.stopPropagation();" ng-if="paramsQue.questions_Type >0">
                                            <span>+</span>
                                        </div>       
                                        <span class="caret" ng-if="paramsQue.questions_Type <=0 " style="margin-right: -5px;"></span>              
                                        <!--（1 单选 2 多选 3 判断 4 问答 5 填空 6 B型题 7 综合题）-->                                                             				                                    
                                        <ul class="que_dropdown_menu" ng-show="selQuestionTypeFlag">                                             
                                            <li class="traintask_top_pxjd_wks" ng-click="selQuestionType(1)">                                                
                                                单选题</li>
                                            <li class="traintask_top_pxjd_jxz" ng-click="selQuestionType(2)">
                                                多选题</li>
                                            <li class="traintask_top_pxjd_ywc"ng-click="selQuestionType(3)">                                                
                                                判断题</li>
                                            <li class="traintask_top_pxjd_all" ng-click="selQuestionType(4)">
                                                问答题</li>
                                            <li class="traintask_top_pxjd_wks" ng-click="selQuestionType(5)">                                                
                                                填空题</li>
                                            <li class="traintask_top_pxjd_jxz" ng-click="selQuestionType(6)">
                                                B型题</li>
                                            <li class="traintask_top_pxjd_ywc"ng-click="selQuestionType(7)">                                                
                                                综合题</li>
                                                <li class="traintask_top_pxjd_ywc"ng-click="selQuestionType(8)">                                                
                                                找错题</li>
                                        </ul>
                                </li>
							</ul>
							<div  class="checkboxsx" ng-if="false">
								<div class="checkboxsxtjtj">+</div>
							</div>
						</div>

                	</div>
                    <!--loading-->
                    <loading isloading="ksqLoading" ng-if="ksqLoading"></loading>                    
                    <!--遍历试卷--->
                	<div class="knowledgebase_selection_tool_main_checkmain" style="height:287px;">
                		<ul class="person_listgroup">             
                            <!--空值-->
                            <li class="person_list_item"  ng-if="queList.length <=0 && !ksqLoading">
                                <center>
                                    <img src="/images/null.png" style="max-width:400px;"/>
                                </center>
                            </li>                   
                			<li class="person_list_item" ng-repeat="qItem in queList" ng-click="checkSingle(qItem);$event.stopPropagation();">
                                <div class="liebiaocheck-box" style="float:left;top:10px;left:0px;" ng-class="{selected:qItem.isSel}" >
                                    <!--添加selected为选中样式-->
                                    <span class="iconfont">&#xe67a;</span>
                                </div>								                                
								<label class="jrsj"><svg class="icon" aria-hidden="true"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-icon04"></use></svg>{{qItem.question_name}}</label>
							</li>
                		</ul>
                	</div>
                    <div class="renyuanmaore">
					    <span ng-click="getPageQueList()" ng-if="!ksqPageLoading" ng-bind="'点击加载更多题目('+queList.length+'/'+queCount+')'"></span>
                        <span ng-if="ksqPageLoading">加载中...</span>
					</div>
                </div>
			</section>
          <section class="knowledge_kecheng_section"  style="width:50%;float:right;" ng-if="knowConfig.ksqMore">
				<form action="" class="knowledgebase_selection_tool_sousuo ng-pristine ng-valid" ng-if="false">
                    <div class="input-group">
                        <input type="text" id="Text1" class="form-control ng-pristine ng-untouched ng-valid" ng-model="paramsExam.searchText" placeholder="请输入题目名称" ng-keyup="examEnter($event)">
                        <span class="input-group-addon " ng-click="getExamList()"><i class="iconfont"></i></span>
                    </div>
                </form>
                <div class="knowledgebase_selection_tool_main">
                	<div class="knowledgebase_selection_tool_main_check">
                		<div class="checkboxgrouptop">							
                            <label style="float:left;padding-right:5px;">已选题目:</label>                          
                            <!--题目总数量-->
							<div class="checkboxsx">                                
                                  <!--取消全部-->
                                <div ng-click="delSelAll()" class="que_btn">                                
                                    重新选择
                                </div>
                                <!--确定-->
                                <div ng-click="okQuestion()" class="que_btn" style="background:#39f;border-color:#39f;color:#fff">                                
                                    确定
                                </div>
                                <svg class="icon" aria-hidden="true" style="font-"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-icon-test"></use></svg>
                                <span ng-bind="knowConfig.ksqList.length" style="font-size:12px;"></span>								
							</div>
						</div>

                	</div>                          
                    <!--遍历试卷--->
                	<div class="knowledgebase_selection_tool_main_checkmain" style="height: 376px;border-left:1px solid #ccc;">
                		<ul class="person_listgroup">             
                            <!--空值-->
                            <li class="person_list_item"  ng-if="knowConfig.ksqList.length <=0">
                                <center>
                                    <img src="/images/null.png" style="max-width:400px;"/>
                                </center>
                            </li>                   
                			<li class="person_list_item" ng-repeat="selQueItem in knowConfig.ksqList" ng-click="delSelQue(selQueItem);$event.stopPropagation();">
                                <div class="close" style="top:4px;">
                                    <span>+</span>
                                </div>                                					                                
								<label class="jrsj">
                                    <svg class="icon" aria-hidden="true" style="top:0px;"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-ti"></use></svg>
                                    {{selQueItem.question_name}}
                                </label>
							</li>
                		</ul>
                	</div>
                </div>
			</section>
            <!--调用知识结构-->
            <knowledge-selector-structure-single  ng-if="nodeStructure.isShow" know-config="nodeStructure" on-callback="onStructureToQuetion()" ></knowledge-selector-structure-single>